package com.clms.rents.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_car")
@ApiModel(value = "Car实体")
public class TbCar {
  @ApiModelProperty(value = "汽车id")
  @TableId(value = "id",type = IdType.AUTO)
  private long id;
  @ApiModelProperty(value = "汽车名字")
  @TableField(value = "carName")
  private String carName;
  @ApiModelProperty(value = "汽车类型")
  private long type;
  @ApiModelProperty(value = "类型id")
  private long brandId;
  @ApiModelProperty(value = "汽车配置id")
  private long configId;
  @ApiModelProperty(value = "汽车简介")
  private String intro;
  @ApiModelProperty(value = "车辆识别码")
  private String vin;
  @ApiModelProperty(value = "购买价格")
  private double buyPrice;
  @ApiModelProperty(value = "门店id")
  private long shopId;
  @ApiModelProperty(value = "汽车状态")
  private long state;
  @ApiModelProperty(value = "出租价格")
  private double price;
  @ApiModelProperty(value = "汽车类型名称")
  @TableField(exist = false)
  private String typeName;
  @ApiModelProperty(value = "汽车配置名称")
  @TableField(exist = false)
  private String configname;
  @ApiModelProperty(value = "汽车")
  @TableField(exist = false)
  private String name;
  @ApiModelProperty(value = "汽车门店名称")
  @TableField(exist = false)
  private String shopname;
  @TableField(exist = false)
  private Integer count;




}
